﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Configuration;
namespace VTNT.Framework.Web.Routing
{
    public class RouteElement : ConfigurationElement
    {
        public RouteElement()
        {
        }

        [ConfigurationProperty("name", IsRequired = true)]
        public string Name
        {
            get { return (string)this["name"]; }
            set { this["name"] = value; }
        }

        [ConfigurationProperty("routeUrl", IsRequired = true)]
        public string RouteUrl
        {
            get { return (string)this["routeUrl"]; }
            set { this["routeUrl"] = value; }
        }

        [ConfigurationProperty("physicalFile", IsRequired = true)]
        public string PhysicalFile
        {
            get { return (string)this["physicalFile"]; }
            set { this["physicalFile"] = value; }
        }
    }
}
